package com.xiao.mapper;

import com.xiao.entity.Hotel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author Xiao
 * @version 1.0
 * @description
 * @date 2022/2/27 0:13
 */
@Mapper
public interface HotelMapper {

    List<Hotel> getAll();

    List<Hotel> searchByConditions(@Param("price") Integer price,
                                  @Param("brandCodes") List<Integer> brandCodes);
}
